class AdminController < ApplicationController
  def addusers
    @user = User.new
  end
  def createuser
    @user = User.new(params[:user])
    if @user.save
      flash[:notice] = 'The user was successfully created.'
      redirect_to :action => 'addusers'
    else
      render :action => 'adduses'
    end
  end    
end
